
(function (win, doc) {
    'use strict';
    function getClassDom(dom) {
        return doc.getElementsByClassName(dom)[0];
    }

    // set top/bottom
    let screenHeight = window.screen.availHesight;
    let otherHeight = 200;
    getClassDom('paper').style.height = screenHeight - otherHeight + 'px';
    getClassDom('paper').style.marginTop = otherHeight / 4 + 'px';

}(window, document));
